<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Demo</title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
    <style>
        #outer {
            width: 300px;
            height: 10px;
            margin: 20px;
            /*padding: 0 10px;*/
            background: red;
            border: solid 1px black;
        }
        #inner {
            padding: 0 30px;
            width: 100%;
            height: 10px;
            background-color: yellow; 
            border: solid 1px black;

            box-sizing: border-box;
        }

        input{
            width: 200px;
            font-size: 30px;
            border: solid 2px #eee;
            border-radius: 30px;
        }
    </style>
</head>
<body>
    <div id="outer">
        <div id="inner"></div>
    </div>
    <input type="search" class="input"/>
    <div>
        <span class="glyphicon glyphicon-sd-video"></span>
    </div>
    
</body>
</html>